Comparison 1.6.5 vs. patch (+4276)
The images are screenshots showing the results of running
JXPanelVisualCheck.interactiveBackgroundAlphaToggleOpaque. In each, we
have three panels side-by-side, its setup hinted at by the text of the
titled borders:
- - core JPanel with semi-transparent background color (for comparison)
- - JXPanel with semi-transparent background color
- - JXPanel with solid background color and container transparency
The text of the contained label shows the return value of isOpaque.
The screenshots show the visuals after:
- initial (default opaque is true)
- after toggling opaque off
- after toggling opaque on again
- after resizing (to get rid of artefacts)
Sequence is left-to-right, then down and left to right again.
Release 1.6.5
The screenshots (taken for Metal)




The issues
- toggling opaque off paints the background color (should not)
- toggling opaque on again has painting artefacts in core (expected) and x (should be handled) with transparent background
- after resizing (to get rid of artefacts): the panel with
container transparency is fully opaque, that is we can't get easily
back to initial
Patch
The screenshots




The Issues
are solved :-)
- the container-transparent panel does not paint the background if opaque off
- not painting artefacts (in xpanel) when toggling back to opacity
- container transparency retained